package com.kob.design.decorator;

/**
 * @Description: TODO
 * @Author: fyt
 * @Date: 2024/4/16 18:14
 **/
public class Client {
    public static void main(String[] args) {
        FastFood fastFood = new FriedRice();
        System.out.println(fastFood.getDesc());
        fastFood = new Egg(fastFood);
        System.out.println(fastFood.getDesc());
    }
}
